package tt

import (
"fmt"
"sync"
)

var strPool = sync.Pool{
	New: func() interface{} {
		return "test str"
	},
}

func TestPool() {
	str := strPool.Get()
	fmt.Println(str)
	strPool.Put(str)
}